 @echo off
setlocal
rem ----------------------------------------------------------------------------
rem Uses devenv.com to build all targets of Your's libraries and plugins.
rem ----------------------------------------------------------------------------



:: Viual C++ 9.0
if defined VS90COMNTOOLS (
	if exist "%VS90COMNTOOLS%\vsvars32.bat" (
		echo -
		echo - Visual C++ 9.0 found.
		echo -
		call "%VS90COMNTOOLS%\vsvars32.bat"			
		goto STARTCOMPILING
		)
)

echo no vc9
goto end

:STARTCOMPILING

set varSolution=dq.sln

::call "devenv.com" /build Debug %varSolution%  2>&1 | find "error(s)"
::echo Starting build for 'Debug' target...

call "devenv.com" /build Release %varSolution% 2>&1 | find "error(s)"
echo Starting build for 'Release' target...

::call "devenv.com" /build Debug_UDLL %varSolution% 2>&1 | find "error(s)"
::echo Starting build for 'Release' target...

::call "devenv.com" /build Release_UDLL %varSolution% 2>&1 | find "error(s)"
::echo Starting build for 'Release' target...


:end
::pause
